package com.cjkj.purchase.domain;

import com.cjkj.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.cjkj.common.annotation.Excel;

/**
 * 采购信息月统计对象 purchase_info_count
 * 
 * @author cjkj
 * @date 2025-02-20
 */
public class PurchaseInfoCount extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long countId;

    /** 采购信息ID */
    @Excel(name = "采购信息ID")
    private Long purchaseId;

    /** 年份 */
    @Excel(name = "年份")
    private String year;

    /** 月份 */
    @Excel(name = "月份")
    private String month;

    /** 入库数量 */
    @Excel(name = "入库数量")
    private Long inQuantity;

    /** 出库数量 */
    @Excel(name = "出库数量")
    private Long outQuantity;

    public void setCountId(Long countId) 
    {
        this.countId = countId;
    }

    public Long getCountId() 
    {
        return countId;
    }
    public void setPurchaseId(Long purchaseId) 
    {
        this.purchaseId = purchaseId;
    }

    public Long getPurchaseId() 
    {
        return purchaseId;
    }
    public void setYear(String year) 
    {
        this.year = year;
    }

    public String getYear() 
    {
        return year;
    }
    public void setMonth(String month) 
    {
        this.month = month;
    }

    public String getMonth() 
    {
        return month;
    }
    public void setInQuantity(Long inQuantity) 
    {
        this.inQuantity = inQuantity;
    }

    public Long getInQuantity() 
    {
        return inQuantity;
    }
    public void setOutQuantity(Long outQuantity) 
    {
        this.outQuantity = outQuantity;
    }

    public Long getOutQuantity() 
    {
        return outQuantity;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("countId", getCountId())
            .append("purchaseId", getPurchaseId())
            .append("year", getYear())
            .append("month", getMonth())
            .append("inQuantity", getInQuantity())
            .append("outQuantity", getOutQuantity())
            .toString();
    }
}
